﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace UFPC.Models
{
    [MetadataType(typeof(ProductValidation))]
    public partial class Product
    {
        
    }

    public class ProductValidation
    {
        [Required]
        public string Name { get; set; }

        [DisplayName("Packing Size")]
        public string PackingSize { get; set; }

        [DisplayName("Quantity Per Unit")]
        public string QuantityPerUnit { get; set; }
    }
}